package com.kws.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kws.system.domain.SysDepartureAddress;
import com.kws.system.domain.info.QueryDepartureAddressInfo;
import com.kws.system.domain.vo.CreateDepartureAddressRq;
import com.kws.system.domain.vo.UpdateDepartureAddressRq;

public interface SysDepartureAddressService extends IService<SysDepartureAddress> {
    Page<QueryDepartureAddressInfo> queryDepartureAddressPage(Integer pageNum, Integer pageSize, String consignerName);

    boolean createDepartureAddress(CreateDepartureAddressRq rq);

    QueryDepartureAddressInfo queryDepartureAddressById(Long id);

    boolean updateDepartureAddress(UpdateDepartureAddressRq rq);

    boolean deleteDepartureAddressById(Long id);
}
